<!DOCTYPE html>
<html>
	<?php $this->load->view('html_header'); ?>
  <body>
		<div id="feed-detail" class="row-fluid">
			<a href="/feed/view/<?php echo $item['id']; ?>/">
				<img id="feed-detail-image" src="<?php echo $item['imageurl']; ?>">
			</a>
		</div>
		<div id="feed-detail-desc">
			<?php echo $item['desc']; ?>
  	</div>
  	<div id="feed-detail-button">
  		<a href="/feed/fundit/<?php echo $item['id']; ?>">
  			<img src="/res/images/detail_button.png"></img>
  		</a>
  	</div>
  	<div id="blank-comment">  	
  	</div>
  	<?php foreach( $comments as $cmt ) : ?>
  		<div id="feed-detail-comment">
  			<div id="comment-image">
  				<img src="<?php echo $cmt['imageurl']; ?>"></img>
  			</div>
  			<div id="comment-username">
  				<?php echo $cmt['username']; ?>
  			</div>
  			<div id="comment-content">
  				<?php echo $cmt['content']; ?>
  			</div>
  		</div>
  	<?php endforeach; ?>
  	
		
		<!--   	
		<div class="row-fluid">
			<div class="span3 offset3">
  			<span class="muted summary">$</span>
				<span class="summary"><?php echo $item['funds']; ?></span>
			</div>

			<div class="span3 offset1">
				<span class="summary">
					<i class="icon-heart"></i><?php echo $item['like']; ?>
				</span>
	  	</div>
	  </div>
	  <br>
		<div class="row-fluid">
			<a href="/feed/fundit/<?php echo $item['id']; ?>"
				class="span8 offset2 btn btn-large">Yes, I want to fund!</a>
		</div>
		-->
  </body>
</html>